<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Tugas Besar 1 PBO IF2032: Latar Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tugas Besar 1 PBO IF2032
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_latar.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Latar Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_latar_8h_source.html">Latar.h</a>&gt;</code></p>

<p><a href="class_latar-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7f7ef63278065cd7d18cfd1540e43f44"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#a7f7ef63278065cd7d18cfd1540e43f44">Latar</a> (int M=20, int N=40)</td></tr>
<tr class="memitem:a78a81ceb6c507f3b4eb9e36f585d7f2c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#a78a81ceb6c507f3b4eb9e36f585d7f2c">Latar</a> (const <a class="el" href="class_latar.html">Latar</a> &amp;L)</td></tr>
<tr class="memitem:a40c09c2cc96e560e07a5d0da5708ee09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_latar.html">Latar</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#a40c09c2cc96e560e07a5d0da5708ee09">operator=</a> (const <a class="el" href="class_latar.html">Latar</a> &amp;L)</td></tr>
<tr class="memitem:abfdc5416eb2aa4e35122d5735ddd5baf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#abfdc5416eb2aa4e35122d5735ddd5baf">~Latar</a> ()</td></tr>
<tr class="memitem:a861e579e3d954576426b9d51fd2ab4ab"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#a861e579e3d954576426b9d51fd2ab4ab">GetRow</a> () const </td></tr>
<tr class="memitem:a4649552dc7cf25cb564539fc7ace25e4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#a4649552dc7cf25cb564539fc7ace25e4">GetCol</a> () const </td></tr>
<tr class="memitem:ac5137f1d4a932215fb2485c047a70d61"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#ac5137f1d4a932215fb2485c047a70d61">GetNOBidang</a> () const </td></tr>
<tr class="memitem:a6b39f98c3758420dea7b5172306ad88a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#a6b39f98c3758420dea7b5172306ad88a">IsBidangIn</a> (const <a class="el" href="class_bidang.html">Bidang</a> *B)</td></tr>
<tr class="memitem:a7ebc682862eeb3d988f1652475ce6dc4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#a7ebc682862eeb3d988f1652475ce6dc4">IsPointIn</a> (const <a class="el" href="class_point.html">Point</a> P)</td></tr>
<tr class="memitem:a7fe0898df7b4b6fbe85a76ce9c8ef65f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#a7fe0898df7b4b6fbe85a76ce9c8ef65f">AddBidang</a> (<a class="el" href="class_bidang.html">Bidang</a> *B)</td></tr>
<tr class="memitem:a36dbc68171dbc4efbfd3ca3d2812613e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#a36dbc68171dbc4efbfd3ca3d2812613e">DelBidang</a> (const <a class="el" href="class_bidang.html">Bidang</a> *B)</td></tr>
<tr class="memitem:a5f02e52a3192b833f5826d155c26b148"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#a5f02e52a3192b833f5826d155c26b148">CleanPaper</a> (char= ' ')</td></tr>
<tr class="memitem:a2a63a23ab11d68d7e5071cee36a4ac7d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#a2a63a23ab11d68d7e5071cee36a4ac7d">ClearAll</a> ()</td></tr>
<tr class="memitem:af862b4f796f33b5a134cb078bff25146"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#af862b4f796f33b5a134cb078bff25146">Draw</a> (char= ' ')</td></tr>
<tr class="memitem:ab92728240cd4746162f69d282388fb3a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#ab92728240cd4746162f69d282388fb3a">ShowLatar</a> ()</td></tr>
<tr class="memitem:a5505519e8ef2fb4a3bba2e3d15c612d8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#a5505519e8ef2fb4a3bba2e3d15c612d8">ComputeC</a> ()</td></tr>
<tr class="memitem:aa1cabba6fc986ace293f5e5253f13f01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_latar.html#aa1cabba6fc986ace293f5e5253f13f01">ComputeS</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Kelas <a class="el" href="class_latar.html">Latar</a> </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a7f7ef63278065cd7d18cfd1540e43f44"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_latar.html#a7f7ef63278065cd7d18cfd1540e43f44">Latar::Latar</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>M</em> = <code>20</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>N</em> = <code>40</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Konstruktor dari kelas latar. (default (row*column = 20*40)) </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">M</td><td>Baris </td></tr>
    <tr><td class="paramname">N</td><td>Kolom </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a78a81ceb6c507f3b4eb9e36f585d7f2c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_latar.html#a7f7ef63278065cd7d18cfd1540e43f44">Latar::Latar</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_latar.html">Latar</a> &amp;&#160;</td>
          <td class="paramname"><em>L</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Copy Konstruktor dari kelas latar. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">L</td><td><a class="el" href="class_latar.html">Latar</a> original </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abfdc5416eb2aa4e35122d5735ddd5baf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_latar.html#abfdc5416eb2aa4e35122d5735ddd5baf">Latar::~Latar</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destruktor dari kelas latar </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7fe0898df7b4b6fbe85a76ce9c8ef65f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_latar.html#a7fe0898df7b4b6fbe85a76ce9c8ef65f">Latar::AddBidang</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_bidang.html">Bidang</a> *&#160;</td>
          <td class="paramname"><em>B</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>I.S. : Bidang* terdefinisi dan menunjuk ke bidang yang sah F.S. : Isi Gambar bertambah satu </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">B</td><td>Suatu <a class="el" href="class_bidang.html">Bidang</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5f02e52a3192b833f5826d155c26b148"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_latar.html#a5f02e52a3192b833f5826d155c26b148">Latar::CleanPaper</a> </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>a</em> = <code>'&#160;'</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Menghapus semua isi Kertas </p>

</div>
</div>
<a class="anchor" id="a2a63a23ab11d68d7e5071cee36a4ac7d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_latar.html#a2a63a23ab11d68d7e5071cee36a4ac7d">Latar::ClearAll</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>I.S. : sembarang F.S. : <a class="el" href="class_latar.html">Latar</a> sudah kosong, tidak ada bidang yang ditunjuk </p>

</div>
</div>
<a class="anchor" id="a5505519e8ef2fb4a3bba2e3d15c612d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_latar.html#a5505519e8ef2fb4a3bba2e3d15c612d8">Latar::ComputeC</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Menghitung perbandingan karakter non kosong dengan karakter blank Diasumsikan latar sudah diperbaharui dengan data terbaru </p>
<dl class="section return"><dt>Returns:</dt><dd>perbandingan karakter non kosong dengan karakter blank </dd></dl>

</div>
</div>
<a class="anchor" id="aa1cabba6fc986ace293f5e5253f13f01"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_latar.html#aa1cabba6fc986ace293f5e5253f13f01">Latar::ComputeS</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Menghitung perbandingan karakter non kosong dengan total karakter latar Diasumsikan latar sudah diperbaharui dengan data terbaru </p>
<dl class="section return"><dt>Returns:</dt><dd>perbandingan karakter non kosong dengan total karakter latar </dd></dl>

</div>
</div>
<a class="anchor" id="a36dbc68171dbc4efbfd3ca3d2812613e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_latar.html#a36dbc68171dbc4efbfd3ca3d2812613e">Latar::DelBidang</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_bidang.html">Bidang</a> *&#160;</td>
          <td class="paramname"><em>B</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>I.S. : Bidang* terdefinisi, menunjuk ke bidang yang sah F.S. : Gambar berkurang satu isinya bila awalnya ada. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">B</td><td>Suatu <a class="el" href="class_bidang.html">Bidang</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af862b4f796f33b5a134cb078bff25146"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_latar.html#af862b4f796f33b5a134cb078bff25146">Latar::Draw</a> </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>kosong</em> = <code>'&#160;'</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>I.S. : <a class="el" href="class_latar.html">Latar</a> terdefinisi F.S. : <a class="el" href="class_latar.html">Latar</a> belakang sudah terisi data terbaru </p>

</div>
</div>
<a class="anchor" id="a4649552dc7cf25cb564539fc7ace25e4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_latar.html#a4649552dc7cf25cb564539fc7ace25e4">Latar::GetCol</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Mengembalikan jumlah kolom suatu latar </p>
<dl class="section return"><dt>Returns:</dt><dd>jumlah kolom </dd></dl>

</div>
</div>
<a class="anchor" id="ac5137f1d4a932215fb2485c047a70d61"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_latar.html#ac5137f1d4a932215fb2485c047a70d61">Latar::GetNOBidang</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Mengembalikan jumlah bidang dalam latar </p>
<dl class="section return"><dt>Returns:</dt><dd>jumlah bidang dalam latar </dd></dl>

</div>
</div>
<a class="anchor" id="a861e579e3d954576426b9d51fd2ab4ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_latar.html#a861e579e3d954576426b9d51fd2ab4ab">Latar::GetRow</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Mengembalikan jumlah baris suatu latar </p>
<dl class="section return"><dt>Returns:</dt><dd>jumlah baris </dd></dl>

</div>
</div>
<a class="anchor" id="a6b39f98c3758420dea7b5172306ad88a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_latar.html#a6b39f98c3758420dea7b5172306ad88a">Latar::IsBidangIn</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_bidang.html">Bidang</a> *&#160;</td>
          <td class="paramname"><em>B</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Mengembalikan true jika <a class="el" href="class_bidang.html">Bidang</a> ada dalam <a class="el" href="class_latar.html">Latar</a> </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">B</td><td>Suatu <a class="el" href="class_bidang.html">Bidang</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd><a class="el" href="class_bidang.html">Bidang</a> ada dalam <a class="el" href="class_latar.html">Latar</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a7ebc682862eeb3d988f1652475ce6dc4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_latar.html#a7ebc682862eeb3d988f1652475ce6dc4">Latar::IsPointIn</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_point.html">Point</a>&#160;</td>
          <td class="paramname"><em>P</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Mengembalikan true jika <a class="el" href="class_point.html">Point</a> P terletak di dalam batas <a class="el" href="class_latar.html">Latar</a> </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">P</td><td>Suatu <a class="el" href="class_point.html">Point</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd><a class="el" href="class_point.html">Point</a> P terletak di dalam batas <a class="el" href="class_latar.html">Latar</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a40c09c2cc96e560e07a5d0da5708ee09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_latar.html">Latar</a> &amp; Latar::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_latar.html">Latar</a> &amp;&#160;</td>
          <td class="paramname"><em>L</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assignment operator dari kelas latar.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">L</td><td><a class="el" href="class_latar.html">Latar</a> original </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>reference ke latar </dd></dl>

</div>
</div>
<a class="anchor" id="ab92728240cd4746162f69d282388fb3a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_latar.html#ab92728240cd4746162f69d282388fb3a">Latar::ShowLatar</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>I.S. : <a class="el" href="class_latar.html">Latar</a> Terdefinisi F.S. : <a class="el" href="class_latar.html">Latar</a> belakang tertulis di layar </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/OOP/tubes1/src/Latar/<a class="el" href="_latar_8h_source.html">Latar.h</a></li>
<li>D:/OOP/tubes1/src/Latar/Latar.cpp</li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_latar.html">Latar</a>      </li>

    <li class="footer">Generated on Thu Mar 8 2012 22:46:44 for Tugas Besar 1 PBO IF2032 by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
   </ul>
 </div>


</body>
</html>
